package cn.com.qjun.dmsoft;

import com.sun.jna.platform.win32.COM.util.annotation.ComMethod;
import com.sun.jna.platform.win32.COM.util.annotation.ComObject;
import com.sun.jna.platform.win32.Variant;
/**
 * @author sun
 **/
@ComObject(progId = "dm.dmsoft")
public interface ComBean {
    @ComMethod
    String Ver();
    @ComMethod
    long FindPic(int x1, int y1, int x2, int y2, String pic_name, String delta_color, double sim, int dir, Variant.VARIANT intX, Variant.VARIANT intY);
    @ComMethod
    long Reg(String reg_code, String ver_info);
    @ComMethod
    long SetPath(String path);
    @ComMethod
    String GetPath();
    @ComMethod
    long MoveTo(int x, int y);
    @ComMethod
    long LeftDoubleClick();

    @ComMethod
    long BindWindow(int hwnd, String display, String mouse, String keypad, int mode );
    @ComMethod
    long KeyPressStr(String key_str, int delay);
}